<template>
  <div class="repair-manage">
    <el-card>
      <h2>报修管理</h2>
      <el-table :data="repairs">
        <el-table-column prop="repairID" label="报修单号" />
        <el-table-column prop="pileID" label="充电桩编号" />
        <el-table-column prop="repairmiaoshu" label="描述" />
        <el-table-column prop="repairprogress" label="进度" />
        <el-table-column label="操作">
          <template slot-scope="scope">
            <el-button size="mini" @click="updateProgress(scope.row)">更新进度</el-button>
          </template>
        </el-table-column>
      </el-table>
    </el-card>
  </div>
</template>
<script>
export default {
  data() {
    return { repairs: [] };
  },
  methods: {
    updateProgress(repair) {}
  }
};
</script>
<style scoped>
.repair-manage { max-width: 1000px; margin: 40px auto; }
</style>
